package uk.org.fuzelogik.eldaw.wicket;

import uk.org.fuzelogik.eldaw.auth.IAuthenticationStrategy;

/**
 * Implementation for sessions in applications using ELDAW components.
 * 
 * @author cgdavies
 */
public interface IAuthenticatedSession
{
	/**
	 * Stores an authentication strategy in the session.
	 * 
	 * @param strategy the strategy to store
	 */
	public void setAuthenticationStrategy( IAuthenticationStrategy strategy );
	
	/**
	 * Gets the authentication strategy from the session.
	 * 
	 * @return the stored authentication strategy
	 */
	public IAuthenticationStrategy getAuthenticationStrategy();
}
